cmake_minimum_required(VERSION 3.10)
project(ICTest)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g  -pthread")

set(ICTEST_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/src/include)
include_directories(${ICTEST_INCLUDE_DIR})

set(CMDLINE_INCLUDE_DIRS thirdparty/cmdline)
include_directories(${CMDLINE_INCLUDE_DIRS})

set(THREADPOOL_INCLUDE_DIRS thirdparty/threadpool)
include_directories(${THREADPOOL_INCLUDE_DIRS})

# static link lib
# add_subdirectory(thirdparty)

aux_source_directory(src SRC)
add_executable(ictest ${SRC})

# target_link_libraries(ictest thirdparty)

